<?php if(defined(TPL_PATH)) {die('invalid');} ?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>后台管理中心</title>
    <link rel="stylesheet" href="<?php echo TPL_PATH?>css/pintuer.css">
    <link rel="stylesheet" href="<?php echo TPL_PATH?>css/admin.css">
    <script src="<?php echo TPL_PATH?>js/jquery.js"></script>
</head>
<body style="background-color:#f2f9fd;">
    <div class="header bg-main">
        <div class="logo margin-big-left fadein-top">
            <h1><img src="<?php echo TPL_PATH?>images/y.jpg" class="radius-circle rotate-hover" height="50" alt="" />后台管理中心</h1>
        </div>
        <div class="head-l">
            <a class="button button-little bg-blue" href="index.php?act=clear_cache">
                <span class="icon-wrench"></span> 清除缓存
            </a> &nbsp;&nbsp;
            <a class="button button-little bg-red" href="logout.php">
                <span class="icon-power-off"></span> 退出登录
            </a>
        </div>
    </div>
    <div class="leftnav">
        <div class="leftnav-title"><strong><span class="icon-gears"></span>菜单列表</strong></div>
        <h2><span class="icon-gear"></span>后台管理</h2>
        <ul style="display:block">
            <li><a href="index.php?act=student" target="right"><span class="icon-caret-right"></span>学生管理</a></li>
            <li><a href="index.php?act=class" target="right"><span class="icon-caret-right"></span>班级管理</a></li>
            <li><a href="index.php?act=teacher" target="right"><span class="icon-caret-right"></span>教师管理</a></li>
            <li><a href="index.php?act=course" target="right"><span class="icon-caret-right"></span>课程管理</a></li>
            <li><a href="index.php?act=course_manager" target="right"><span class="icon-caret-right"></span>课程安排</a></li>
        </ul>
    </div>
    <ul class="bread">
        <li><a href="index.html" class="icon-home"> 首页</a></li>
        <li><a target="right" id="a_leader_txt">学生管理</a></li>
    </ul>
    <div class="admin">
        <iframe scrolling="auto" rameborder="0" src="index.php?act=student" name="right" width="100%" height="100%"></iframe>
    </div>
    <script type="text/javascript">
        $(function(){
            $(".leftnav h2").click(function(){
                $(this).next().slideToggle(200);
                $(this).toggleClass("on");
            });
            $(".leftnav ul li a").click(function(){
                $("#a_leader_txt").text($(this).text());
                $(".leftnav ul li a").removeClass("on");
                $(this).addClass("on");
            });
        });
    </script>
</body>
</html>